package cn.tedu.egweibo03.controller;

import cn.tedu.egweibo03.base.response.JsonResult;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@Api(tags = "微博模块")
@Slf4j
@RestController
@RequestMapping("/v1/user/")
public class UserController {
    @ApiOperation(value = "查询功能")
    @ApiImplicitParam(name = "id",value = "微博id",required = true,dataType = "int")
    @GetMapping("select")
    private JsonResult select(Integer id){
        log.debug("id="+id);
        return JsonResult.ok();
    }



}
